Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix: TimeoutLayer doesn't work as expected for writer #4330

Closed

Conversation

zhenglin-charlie-li
Copy link
Contributor

@zhenglin-charlie-li zhenglin-charlie-li commented Mar 6, 2024

fix: #4325 TimeoutLayer doesn't work as expected for writer

The key in my implemenation is the use of the select! macro to properly handle the cancellation of ongoing futures in the writer when a timeout occurs.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

TimeoutLayer doesn't work as expected for writer
1 participant